#ifndef __CONFIGDATADEF_H__
#define __CONFIGDATADEF_H__


#define STRSIZE 32

typedef int TRAINMODEENUM;
#define SELFMODE	0
#define DRILLMASTER	1

typedef int TECHNIQUETYPE;
#define WLINE		0
#define CIRCLE		1
#define _8LINE		2
#define SINLINE		3

#ifdef __cplusplus
extern "C" {
#endif

typedef struct date_s
{
	unsigned int day, month, year;
} date_t, *date_ptr;

typedef struct shooter_s
{
	char name[STRSIZE];
	date_ptr pDate;
	TRAINMODEENUM trainMode;
	TECHNIQUETYPE techType;
	double dInitSTDist;
	unsigned int nMagRate;
} shooter_t, *shooter_ptr;

typedef struct target_s
{
	unsigned int nVelocity;
} target_t, *target_ptr;

#ifdef __cplusplus
}
#endif


#endif